Display Name = "Dark Tower 6F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 398, 22, 6, 2, 1])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["‘To protect the treasure is a guardian with a knife.',' If they are terrifying, pull down the green lever.',' The more you pull it down, the slower the guardian's movements become.’"])
    ShowText(["\\n<Alice>"])
    ShowText(["The lower you go, the slower the guardian's movements become."])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Switch2\", @pitch=150, @volume=80)"])
    ControlSwitches([3020, 3020, 0])
    ConditionalBranch([0, 3007, 0])
      ControlSwitches([3496, 3496, 0])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 1])
      ConditionalBranch([0, 1005, 0])
        ShowTextAttributes(["alice_fc5", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["It seems there is no reaction..."])
        ShowText(["Well, let's leave the matter of the Dark Tower to Ilias."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1006, 0])
        ShowTextAttributes(["alice_fc1", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["It seems there is no reaction..."])
        ShowText(["Well, let's leave the matter of the Dark Tower to Ilias."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1007, 0])
        ShowTextAttributes(["alice_fc7", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["It seems there is no reaction..."])
        ShowText(["Well, let's leave the matter of the Dark Tower to Ilias."])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 0])
      ControlSwitches([3498, 3498, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["I heard the sound of a door opening on this floor!"])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Switch2\", @pitch=150, @volume=80)"])
    ControlSwitches([3019, 3019, 0])
    ConditionalBranch([0, 3020, 1])
      ConditionalBranch([0, 1026, 0])
        ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["There is no reaction at all..."])
        ShowText(["Are there other switches as well?"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1027, 0])
        ShowTextAttributes(["iriasu_fc1", 4, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["There is no reaction at all..."])
        ShowText(["Are there other switches as well?"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1028, 0])
        ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["There is no reaction at all..."])
        ShowText(["Are there other switches as well?"])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3020, 0])
      ControlSwitches([3498, 3498, 0])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["I heard the sound of a door opening on this floor!"])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 400, 22, 35, 2, 1])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 403, 28, 20, 0, 0])
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([2477, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([5218, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([900, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([925, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([905, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There's a luxurious treasure chest ahead."])
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["It's a treasure chest."])
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Press the switch ahead..."])
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There's a platinum treasure chest here."])
    Empty([])

CommonEvent 19
Name = "EV019"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["To open the door blocking the way ahead, you need to press two buttons."])
    ShowText(["One of the buttons is right there, but..."])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["The other button can only be pressed from the Light Tower route."])
    ShowText(["Therefore, we need to wait for the other party."])
    Empty([])

CommonEvent 20
Name = "EV020"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["To open this door, two buttons must be pressed."])
      ShowText(["Let's go back up and press the button."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 0])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["To open this door, two buttons must be pressed."])
      ShowText(["One of them has already been pressed, but the other is on the Light Tower route."])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Let's wait here until their team arrives."])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Now the door has opened."])
    ShowText(["Proceed ahead and warp to the upper floor."])
    Empty([])

CommonEvent 21
Name = "EV021"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["First, press the button in the upper left."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 0])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Now, head downward..."])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 22
Name = "EV022"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 1])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["Press the button above..."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3019, 0])
      ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
      ShowText(["\\n<Dungeon Spirit>"])
      ShowText(["This button has already been pressed."])
      Empty([])

    BranchEnd([])
    Empty([])
